<template>
  <ElFormItem :="props">
    <slot :="attrs" />
  </ElFormItem>
</template>

<script setup lang="ts">
import { useAttrs } from 'vue'
const attrs = useAttrs()

interface Props {
  prop: string;
  label: string;
}

const props = withDefaults(defineProps<Props>(), {
  prop: "",
  label: ""
})
</script>
